package org.myspring;

/**
 * BeanDefinition注册接口
 *
 * @author shanzhenbo
 * @since 2023-06-16 17:03:08
 */
public interface BeanDefinitionRegistry {

    /**
     * 注册BeanDefinition
     */
    void register(Class<?>... componentClasses);

    void addSingleton(String beanName, Object bean);

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    void addBeadDefinition(String beanName, BeanDefinition beanDefinition);
}
